package com.norteksoft.erm.model;

/**
 * @hibernate.class table="ERM_USERRIGHT"
 * @deprecated
 */
public class UserRight extends Right {

	private static final long serialVersionUID = 548727979690703616L;

	private User user;

	public UserRight() {
	}

	public UserRight(Right ur) {
		super.setRightID(ur.getRightID());
		super.setInheritable(ur.getInheritable());
		super.setOperation(ur.getOperation());
	}

	/**
	 * @hibernate.many-to-one name="user" column="USERID"
	 *                        class="com.norteksoft.erm.model.User"
	 */
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
}
